package com.plian.system.entity.im;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.plian.system.mybatis.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * @description: 重点项目情况表
 * @author: gangan
 * @create: 2020-04-27 09:56
 */
@Data
@TableName("im_main_project_situation")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "MainProjectSituation 对象", description = "重点项目情况表")
public class MainProjectSituation  extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主表id
     */
    @ApiModelProperty(value = "主表id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long effectiveInvestmentId;

    /**
     * 项目id
     */
    @ApiModelProperty(value = "项目id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long projectId;

    /**
     * 项目名称
     */
    @ApiModelProperty(value = "项目名称")
    private String projectName;

    /**
     * 项目性质
     */
    @ApiModelProperty(value = "项目性质")
    private String projectNatureId;

    /**
     * 全年计划
     */
    @ApiModelProperty(value = "全年计划")
    @TableField(value = "plan_total_investment", updateStrategy = FieldStrategy.IGNORED)
    private BigDecimal planTotalInvestment;

    /**
     * 至上月底完成
     */
    @ApiModelProperty(value = "至上月底完成")
    @TableField(value = "last_complete_investment", updateStrategy = FieldStrategy.IGNORED)
    private BigDecimal lastCompleteInvestment;

    /**
     * 本月完成投资
     */
    @ApiModelProperty(value = "本月完成投资")
    @TableField(value = "complete_investment", updateStrategy = FieldStrategy.IGNORED)
    private BigDecimal completeInvestment;

    /**
     * 主要形象进度
     */
    @ApiModelProperty(value = "主要形象进度")
    private String mainProgress;

    /**
     * 存在的问题
     */
    @ApiModelProperty(value = "存在的问题")
    private String problem;



}
